package com.intellagric.mapper;

import com.intellagric.pojo.AgtResourceType;
import com.intellagric.pojo.AgtResourceTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtResourceTypeMapper {
    long countByExample(AgtResourceTypeExample example);

    int deleteByExample(AgtResourceTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtResourceType record);

    int insertSelective(AgtResourceType record);

    List<AgtResourceType> selectByExample(AgtResourceTypeExample example);

    AgtResourceType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtResourceType record, @Param("example") AgtResourceTypeExample example);

    int updateByExample(@Param("record") AgtResourceType record, @Param("example") AgtResourceTypeExample example);

    int updateByPrimaryKeySelective(AgtResourceType record);

    int updateByPrimaryKey(AgtResourceType record);
}